package com.rzjm.exercise.module.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzjm.exercise.common.base.service.impl.BaseServiceImpl;
import com.rzjm.exercise.module.dao.TerminalFittingDao;
import com.rzjm.exercise.module.domain.TerminalFitting;
import com.rzjm.exercise.module.service.TerminalFittingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;


@Service
public class TerminalFittingServiceImpl extends BaseServiceImpl<TerminalFittingDao, TerminalFitting> implements TerminalFittingService {
    @Resource
    private TerminalFittingDao terminalFittingDao;

    @Override
    public List<TerminalFitting> getPageByUserId(Page<TerminalFitting> page, Map<String, Object> map) {
        return terminalFittingDao.getPageByUserId(page,map);
    }
}
